home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2339 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Demo/game to OS frien
  5. Date: 30 Jan 1996 11:03:45 +0100
  6. Organization: dis-
  7. Message-ID: <4ekqe1$pv@serpens.rhein.de>
  8. References: <4ekcrb$1q9@sinsen.sn.no>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. tbk@sn.no (Thore Bjerklund Karlsen) writes:
  12.  
  13. >Hooray for multitasking..  No point keeping the system alive if you own
  14. >the blitter?
  15.  
  16. The idea is to own the blitter only for a short time.
  17.  
  18. Also, there might be system tasks that are wanted to be kept alive
  19. that do not use the blitter at all.
  20.  
  21. >What is the difference between Forbid() and SetTaskPri(127)?
  22.  
  23. The fact that Forbid() is inefficient ?
  24.  
  25. But no. You are not asked to run at priority 127 all the time. You
  26. should do the time critical tasks at priority 127 (or even within an
  27. interrupt).
  28.  
  29. >Two times the code..  Not fun.
  30.  
  31. Well, better than half times the code and crashing.
  32.  
  33. >Do  you  call  SetTaskPri(veryhigh),  LoadView(0)  and OwnBlitter() not
  34. >shutting down the OS?
  35.  
  36. Pure c0d3r-style argumentation.
  37.  
  38. And no, not even that is "shutting down the OS".
  39.  
  40. >Everything CAN be made OS-compatible..  But at a price.
  41.  
  42. The price is to give up the c0d3r ideology.
  43.  
  44. -- 
  45.                                 Michael van Elst
  46.  
  47. Internet: mlelstv@serpens.rhein.de
  48.                                 "A potential Snark may lurk in every tree."
  49.